import sys

source = list(range(5))
print(sys.getrefcount(source)) # 2

copy = source

print(source == copy, source is copy)  # True True
print(sys.getrefcount(source)) # 3

copy.clear()
print(sys.getrefcount(copy))  # 2